home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group92c.txt
/
000006_icon-group-sender _Sat Oct 3 20:57:41 1992.msg
< prev
next >
Wrap
Internet Message Format
|
1993-01-04
|
1KB
Received: by cheltenham.cs.arizona.edu; Sun, 4 Oct 1992 06:39:02 MST
Date: Sat, 3 Oct 92 20:57:41 -0700
From: wgg@cs.UCSD.EDU (William Griswold)
Message-Id: <9210040357.AA05603@gremlin>
To: goer@midway.uchicago.edu, icon-group@cs.arizona.edu
Subject: Re: storing objects
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
Richard,
Well, you might be able to exploit the properties of your specific tables.
For example, if your keys and elements are all ``printable'', then a simple
scheme of writing out a list of (key,elem) pairs in some simple format
would be easiest.
However, if you have pointers in your objects, then
you need some way of encoding pointers, which is much trickier to do
something simple with. In particular, you need some way of being able
to uniquely identifying an object so that you can recreate the pointer
structure. You could do this by generating a unique label for every
object, and then use the label in place of the object in the (key,elem)
pairs: (key,label[elem]). You would then print a second table of
(label[elem],elem) so you could reconstruct the original objects.
Sorry if this seems a little vague.
Bill Griswold
UCSD, Computer Sci and Engr.
wgg@cs.ucsd.edu